// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import Vuex from 'vuex'
import store from './store/store'
Vue.use(Vuex)
import App from './App'
import router from './router'
//引入iview
import iView from 'iview';
import 'iview/dist/styles/iview.css';
import 'font-awesome/css/font-awesome.css';
import $ from 'jquery';
Vue.use(iView);

//引入高德地图
import AMap from "vue-amap"
Vue.use(AMap);
AMap.initAMapApiLoader({
  key: 'f2df32b15a0869454fcd3f93a0853b1d',
  plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView',
    'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor',
    'AMap.CircleEditor', 'AMap.Geolocation', 'Geocoder'
  ],
  v: '1.4.8'
});
//引入video
import videoPlayer from 'vue-video-player'
import 'video.js/dist/video-js.css'
import 'vue-video-player/src/custom-theme.css'
import 'videojs-flash'
import 'videojs-contrib-hls/dist/videojs-contrib-hls'
Vue.config.productionTip = false
Vue.use(videoPlayer)
  //引入axios
import Axios from './service/axios'
Vue.prototype.$http = Axios;

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  $,
  store,
  components: { App },
  template: '<App/>'
})